package gui.controller;

import javax.swing.*;

/**
 * author:          alexander
 * version:         1.0
 * *************************************************
 * ** CreationDate:  12/14/12 6:44 PM
 * ** Project:       Leertaak 4 Mobile Robot Explorer
 * ** Package:       gui.controller
 * ** Classname:     SimulationController
 * *************************************************
 */

/**
 * this class represents the menubar thats visible on the mainframe
 */
public class MenuBarController extends JMenuBar {


	/**
	 * Constructor
	 * will add all JMenu items in menus to this menubar
	 *
	 * @param menus
	 */
	public MenuBarController(JMenu[] menus) {
		super();
		for (JMenu menu : menus) {
			this.add(menu);
		}


	}


}
